package com.sali;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @description:
 * @author: zhang hang
 * @date: 2022/7/18 16:58.
 * @version: 1.0
 */
@SpringBootApplication
@MapperScan("com.sali.mapper")
public class SaliStockOrderServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(SaliStockOrderServiceApplication.class, args);
    }

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

}
